import QtQuick 2.0
//import QtGraphicalEffects 1.14

Rectangle {
    width:100
    height:40
    antialiasing : true
    border.color : "red"
    border.width : 1
    color : "white"
    radius : height/2

    Text{
        anchors.centerIn: parent
        text: "保存"
        color:"red"
    }
}


//Rectangle {
//    radius:5
//    gradient: Gradient {
//        GradientStop { position: 0.0; color: "#009bff" }
//        GradientStop { position: 1.0; color: "#0afefe" }
//    }
//}


//LinearGradient {
//    anchors.fill: parent
//    start: Qt.point(0, 0)
//    end: Qt.point(0, 300)
//    gradient: Gradient {
//        GradientStop { position: 0.0; color: "#009bff" }
//        GradientStop { position: 1.0; color: "#0afefe" }
//    }
//}
